package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 监测量配置对象 dispatchMonitoringItemConfig
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public class DispatchMonitoringItemConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 监测量配置编号 */
    private Long monitoringItemConfigId;

    /** 监测量 ID */
    @Excel(name = "监测量 ID")
    private Long monitoringItemId;

    /** 数据来源 */
    @Excel(name = "数据来源")
    private String dataSource;

    /** 是否为常用监测量 */
    @Excel(name = "是否为常用监测量")
    private Integer isCommon;

    /** 筛选选项 ID */
    @Excel(name = "筛选选项 ID")
    private Long filterOptionId;

    /** 配置用户 ID */
    @Excel(name = "配置用户 ID")
    private Long configurationUserId;

    /** 配置时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "配置时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date configurationTime;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 上次更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "上次更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastUpdateTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    /** 操作类型 */
    @Excel(name = "操作类型")
    private String operationType;

    public void setMonitoringItemConfigId(Long monitoringItemConfigId) 
    {
        this.monitoringItemConfigId = monitoringItemConfigId;
    }

    public Long getMonitoringItemConfigId() 
    {
        return monitoringItemConfigId;
    }
    public void setMonitoringItemId(Long monitoringItemId) 
    {
        this.monitoringItemId = monitoringItemId;
    }

    public Long getMonitoringItemId() 
    {
        return monitoringItemId;
    }
    public void setDataSource(String dataSource) 
    {
        this.dataSource = dataSource;
    }

    public String getDataSource() 
    {
        return dataSource;
    }
    public void setIsCommon(Integer isCommon) 
    {
        this.isCommon = isCommon;
    }

    public Integer getIsCommon() 
    {
        return isCommon;
    }
    public void setFilterOptionId(Long filterOptionId) 
    {
        this.filterOptionId = filterOptionId;
    }

    public Long getFilterOptionId() 
    {
        return filterOptionId;
    }
    public void setConfigurationUserId(Long configurationUserId) 
    {
        this.configurationUserId = configurationUserId;
    }

    public Long getConfigurationUserId() 
    {
        return configurationUserId;
    }
    public void setConfigurationTime(Date configurationTime) 
    {
        this.configurationTime = configurationTime;
    }

    public Date getConfigurationTime() 
    {
        return configurationTime;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setLastUpdateTime(Date lastUpdateTime) 
    {
        this.lastUpdateTime = lastUpdateTime;
    }

    public Date getLastUpdateTime() 
    {
        return lastUpdateTime;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }
    public void setOperationType(String operationType) 
    {
        this.operationType = operationType;
    }

    public String getOperationType() 
    {
        return operationType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("monitoringItemConfigId", getMonitoringItemConfigId())
            .append("monitoringItemId", getMonitoringItemId())
            .append("dataSource", getDataSource())
            .append("isCommon", getIsCommon())
            .append("filterOptionId", getFilterOptionId())
            .append("configurationUserId", getConfigurationUserId())
            .append("configurationTime", getConfigurationTime())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .append("lastUpdateTime", getLastUpdateTime())
            .append("updater", getUpdater())
            .append("operationType", getOperationType())
            .toString();
    }
}
